<template>
  <div class="img-container">
    <img class="page404" src="@/assets/images/page404.png" alt="" />
    <h2>404错误</h2>
    <p class="desc">抱歉，您访问的页面不存在。</p>
    <el-button type="primary" @click="goBack">返回上一页</el-button>
  </div>
</template>
<script lang="ts" setup>
import { router } from "@/router/index";
const goBack = () => {
  router.go(-1);
};
</script>
<style lang="scss" scoped>
:deep(.el-card__body) {
  padding: 0;
  // height: calc(100vh - 2px);
}
.img-container {
  background-color: #fff;
  min-height: 100vh;
  text-align: center;
  .desc {
    padding: 10px 0;
  }
}
.page404 {
  width: 400px;
  margin-top: 60px;
  // height: 329px;
}
</style>
